﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NoteManger.aspx.cs" Inherits="Module_NoteManger_NoteManger" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel1" />
    <ext:Panel ID="Panel1" runat="server" BodyPadding="0px" EnableBackgroundColor="true" ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Fit">
        <Toolbars >
            <ext:Toolbar runat="server">
                <Items>
                    <ext:Button ID="BtnAdd" runat="server" Text="新增">
                    </ext:Button>
                    <ext:Button ID="BtnDel" runat="server" Text="删除" OnClick="BtnDel_Click" ConfirmText="是否确定删除选中的公告?">
                    </ext:Button>
                    <ext:Button ID="BtnState" runat="server" Text="设置不可用" Hidden="true">
                    </ext:Button>
                    <ext:Button ID="BtnRefresh" runat="server" Text="刷新" >
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Grid ID="Grid1" runat="server" EnableCheckBoxSelect="true" 
                EnableRowNumber="true" AllowPaging="true" ShowHeader="false"
              DataKeyNames="NoteID"  Title="Grid" OnRowDataBound="Grid1_RowDataBound">
                <Columns>
                    <ext:TemplateField >
                        <ItemTemplate >
                            <asp:LinkButton ID="LinkButton1" runat="server">修改公告信息</asp:LinkButton>
                        </ItemTemplate>
                    </ext:TemplateField>
                    <ext:BoundField DataField="Summary" HeaderText="公告概要" Width="390px" />
                    <ext:BoundField DataField="CreateName" HeaderText="公告创建人" width="100px"/>
                    <ext:BoundField DataField="CreateTime" HeaderText="公告创建时间" Width="150px"/>
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>

    <ext:Window ID="Window1" runat="server" Height="400px" IsModal="true" Popup="false" EnableIFrame="true"   Title="Window" Width="700px" OnClose="Window1_Close" >
    </ext:Window>


    </form>
</body>
</html>
